<!-- PAGE HEADER -->
                <div class="page-header-wrapper">
                
                		<section id="page-header">
                        		<div>
                                	<h1>OUR WORK</h1>
                                </div>
                        </section>
                
                </div>
<!-- PORTFOLIO HEADER -->
                <div id="portfolio-header">
                	<section class="clearfix">
                    		<!--<div class="portfolio-menu" data-option-key="filter">
                            		<a href="#filter" data-option-value="*" class="selected">ALL</a>
                            		<a href="#filter" data-option-value=".photography" >PHOTOGRAPHY</a>
                            		<a href="#filter" data-option-value=".design" >DESIGN</a>
                            		<a href="#filter" data-option-value=".architecture" >ARCHITECTURE</a>
                            		<a href="#filter" data-option-value=".other" >OTHER</a>
                            </div>-->
                                <?php
                                        echo "<a href=" . $this->url(array(
                                                  'controller' => 'index',
                                                  'action' => 'ourworklist',
                                                  'cat' => 'all'))." class=\"portfolio-menu\"><h2>All</h2></a>";
                                ?>
                                <?php foreach ($this->cat as $val) { ?>
                            		
                                    <?php
                                        echo "<a href=" . $this->url(array(
                                                  'controller' => 'index',
                                                  'action' => 'ourworklist',
                                                  'cat' => $val['id'])) ." class=\"portfolio-menu\"><h2>".$val['name']."</h2></a>";
                                    ?>                                        
                                    <?php } ?>    
                            <div class="portfolio-view">
                                <span><a href="#" class="list active">&nbsp;</a></span>
                            	<span><?php echo "<a href=" . $this->url(array(
                                                                              'controller' => 'index',
                                                                              'action' => 'ourworkgrid')) . " class=\"grid\">&nbsp;</a>"; ?></span>
                            </div> 
                    </section>
                </div>
                <!-- PORTFOLIO HEADER -->
                
                
                
                <!-- CONTENT -->
                <div class="wrapper" id="portfolio">
                
                		<section class="list-view">
                                    <?php foreach ($this->projects as $val) { ?>
                			<article>
                				<figure><img src="/uploads/projects/<?php echo $val['little_img'] ?>" alt="" /></figure>
                			        <div>
                			        		<h4><?php echo $val['name']; ?></h4>
                			                <p><?php echo $val['about']; ?></p>                			                
                			                <?php
       
                                                        echo "<a href=" . $this->url(array(
                                                                              'controller' => 'index',
                                                                              'action' => 'ourworksingle',
                                                                              'id' => $val['id'])) . " class=\"more-detail\">".'MORE ABOUT PROJECT'."</a>";
                                                        ?>
                			        </div>
                			</article>
                		   <?php } ?>	
                			
                		</section>
                
                </div>
                <!-- CONTENT -->
                
                
                
                <!-- PORTFOLIO PAGINATION -->
                <div id="portfolio-pagination">
                		<section>
                        		<ul>
                        			<?php echo $this->paginationControl($this->projects, 'Sliding', 'partials/paginator.phtml'); ?>
                        		</ul>
                        </section>
                </div>
                <!-- PORTFOLIO PAGINATION -->
                
                